package com.hp.erp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenheng
 * @since 2021-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Functions implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String name;

    private String description;

    private String url;

    private String pid;

    private String icon;

    private Integer sort;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private String createUserId;

    private String updateUserId;

    private String siteId;

    //子菜单
    @TableField(exist = false)
    List<Functions> subFunctions;
}
